package xin.yogee.ms.module.oa.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import xin.yogee.ms.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 入库记录
 * </p>
 *
 * @author jackieQ
 * @since 2020-02-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Stock extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 入库商品
     */
    private String userId;

    /**
     * 0出库 1入库
     */
    private String type;

    /**
     * 金额
     */
    private String amount;

    /**
     * 金额
     */
    @TableField(exist = false)
    private String userName;


}
